<?php

use Illuminate\Database\Seeder;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        factory(\App\User::class,100)->create();
        $user = \App\User::find(1);
        $user->name='EMINEM';
        $user->email='EMINEM@qq.com';
        $user->password=bcrypt('eminem');
        $user->is_admin= true;
        $user->save();
    }
}
